inhomogenous differential equation